package com.woniuxy.dr_mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties("handler")
public class DrOrders implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;

    @TableField("orderNo")
    private String orderNo;

    @TableField("userId")
    private Integer userId;


    @TableField("orderTime")
    private String orderTime;

    private String accept;

    private String telephone;

    private String address;

    private BigDecimal money;

    @TableField("payType")
    private String payType;

    @TableField("payTime")
    private String payTime;

    @TableField("deliverTime")
    private String deliverTime;

//    @TableField("receiveTime")
//    private LocalDateTime receiveTime;

    @TableField("receiveTime")
    private String receiveTime;

    private String status;

    @TableField("isDel")
    private String isDel;

    @TableField(exist = false)
    private DrUser user;

    @TableField(exist = false)
    private String account;

}
